package com.dc.entity.ro;

import com.dc.ro.PageRO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 管理员用户-请求数据模型
 */
@Data
@ApiModel
public class SysUserRO extends PageRO {

    private static final long serialVersionUID = 295144720826078061L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id(新增不填)", example = "新增不填")
    private Long id;
    /**
     * 登录名
     */
    @ApiModelProperty(value = "登录名", example = "admin")
    private String loginName;
    /**
     * 密码
     */
    @ApiModelProperty(value = "旧登录密码", example = "123456")
    private String oldPassword;

    @ApiModelProperty(value = "登录密码", example = "123456")
    private String password;

    @ApiModelProperty(value = "姓名", example = "管理员")
    private String userName;

    @ApiModelProperty(value = "个人描述", example = "长度限制30个字")
    private String description;

    @ApiModelProperty(value = "手机号", example = "13668221636")
    private String mobile;

    @ApiModelProperty(value = "用户编号", example = "000001")
    private String cardNumber;

    @ApiModelProperty(value = "角色id集合")
    private String roleId;

    @ApiModelProperty(value = "性别 0:男  1：女")
    private Integer sex;

    @ApiModelProperty(value = "头像")
    private String portrait;

    @ApiModelProperty(value = "数据源id集合")
    private String dataSourceId;

}
